package com.flower.mapper;

import com.flower.model.dto.SupplierDTO;
import com.flower.model.dto.SupplierPageQueryDTO;
import com.flower.model.entity.Supplier;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName SupplierMapper
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/13 16:57
 *@Version 1.0
 */
@Mapper
public interface SupplierMapper {
    Page<Supplier> pageQuery(SupplierPageQueryDTO supplierPageQueryDTO);

    void add(SupplierDTO supplierDTO);

    void update(SupplierDTO supplierDTO);

    void delSupplierById(Integer id);

    List<SupplierDTO> list();

}
